{% extends "base.html" %}
{% comment %}
This is the main template for all portal pages.
{% endcomment %}
{% block title %}
    Web门户
{% endblock %}

{% block scripts %}
    {{ block.super }}
    <script type="text/javascript" language="javascript" src="/static/DataTables-1.9.3/media/js/jquery.js" charset="utf-8"></script>
    <script src="/static/js/animated-menu.js" type="text/javascript"></script>
{% endblock %}

{% block styles %}
    {{ block.super }}
    <link rel="stylesheet" type="text/css" href="{{STATIC_URL}}css/menu.css">
{% endblock %}


{% block navbar %}
    <section>
        <ul id="nav">
            <li class="blue">
                <p><a href="/">Web主页</a></p>
            </li>
            <li class="blue">
                <p><a href="#">CMDB信息</a></p>
                <p class="subtext"><a href="/cmdb_info/">查看</a></p>
            </li>
            <li class="blue">
                <p><a href="/admin/">管理</a></p>
            </li>
            <li class="blue" id="logout">
                <p><a href="/logout/">登出</a></p>
            </li>
        </ul>
    </section>
{% endblock %}

